package com.xiaoshuidi.cloud.module.report.dal.DO.report;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiaoshuidi.cloud.framework.mybatis.core.dataobject.BaseDO;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Date;
import java.time.LocalDate;
import java.time.LocalDateTime;


@TableName(value = "report_room_reserve", autoResultMap = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class ReportRoomReserveDO extends BaseDO {

    @TableId(value = "id",type = IdType.AUTO)
    private Long id ;

    /**
     *公寓id
     */
    private Long apartmentId;
    /**
     *公寓名称
     */
    private String apartmentName;
    /**
     *房间id
     */
    private Long roomHouseId;
    /**
     * 小区名
     */
    private String area;
    /**
     *房源
     */
    private String houseResource;
    /**
     *客户类型 personal 个人客户 | company 企业客户
     */
    private String customerType;
    /**
     *预订人
     */
    private String booker;
    /**
     *预订人手机号
     */
    private String bookerPhone;
    /**
     *证件号码
     */
    private String cardNo;
    /**
     *账单编号
     */
    private String billNo;

    /**
     *预计入住日期
     */
    private LocalDate checkInDate;
    /**
     *预定失效日期
     */
    private LocalDate expirationDate;
    /**
     *预定定金
     */
    private BigDecimal deposit;

    /**
     * 支付流水ID
     */
    private Long paymentId;
    /**
     *租户编号
     */
    private Long tenantId;

    /**
     *定金缴款方式
     */
    private String payWay;
    /**
     *是否处理 0未处理，1已处理
     */
    private Integer handleFlag;


    /**
     * 状态
     */
    private String status;
    private LocalDateTime createTime;

    private LocalDateTime updateTime;

}
